<?php
    if(C('LAYOUT_ON')) {
        echo '{__NOLAYOUT__}';
    }
?>
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>{$Config.sitename} - 提示信息</title>
<style>
body{ background:#F5F5F5;
}
li{ list-style:none; font-size:30px; font-weight:bold;}
a{ text-decoration:none; color: #0000FF;}
.wrap{
background:url(__PUBLIC__/tips/showbox.png) no-repeat 50% 0;
height:550px;
height:260px;
margin-top:180px;
padding-top:1px;
}
/*
===================
页面级提示
===================
*/
.btn {
	color: #333;

	border: 1px solid #c4c4c4;
	border-radius: 2px;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
	padding:4px 10px;
	display: inline-block;
	cursor: pointer;
	font-size:100%;
	line-height: normal;
	text-decoration:none;
	overflow:visible;
	vertical-align: middle;
	text-align:center;
	zoom: 1;
	white-space:nowrap;
	font-family:inherit;
	_position:relative;
	margin:0;
}
a.btn{
	*padding:5px 10px 2px !important;
}

.btn em{
	font-size:10px;
	font-style:normal;
	padding-left:2px;
	font-family:Arial;
	vertical-align:1px;
}

/*悬停*/
.btn:hover {
	background-position: 0 -40px;
	color: #333;
	text-decoration: none;
}
/*点击后*/
.btn:active {
	background-position:0 -81px;
}
#error_tips h2{
text-align:center;
font-size:24px;
margin-top:5px;
font-weight:bold;
	
}
#error_tips{

	width:500px;
	margin:27px auto;
}
#error_tips h2{
	font:bold 14px/40px Arial;
	height:40px;
	padding:0 20px;
	color:#fff;
}
.error_cont{
	padding:20px 20px 30px 80px;
	line-height:1.8;
}
.error_cont img{ float:left; margin-top:2px; margin-right:10px;}
.error_cont  span{ color:#FF0000;}
.error_return{
     
	padding:10px 0 0 0;
}
</style>
</head>
<body >

<div class="wrap">
  <div id="error_tips">
    <h2>{$msgTitle}</h2>
    <div class="error_cont">
      <ul>
        <li><img src="__PUBLIC__/tips/warning.png"><span>{$error}</span></li>
      </ul>
      <div class="error_return">页面自动 <a id="href" href="<?php echo($jumpUrl); ?>">返回</a> 等待时间： <b id="wait"><?php echo($waitSecond); ?></b></div>
    </div>
  </div>
</div>


</div>
<script type="text/javascript">
(function(){
var wait = document.getElementById('wait'),href = document.getElementById('href').href;
var interval = setInterval(function(){
	var time = --wait.innerHTML;
	if(time <= 0) {
		location.href = href;
		clearInterval(interval);
	};
}, 1000);
})();
</script>
</body>
</html>